<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>刷脸成功</title>
  <link rel="stylesheet" href="../../assets/css/public.css">
  <link rel="stylesheet" href="../../assets/css/faceSuccess.css">
</head>
<body>
<div class="return-box">
  <p><a href="javascript:history.go(-1)"><i align="center"><img src="../../assets/images/icon-back.png"></i><span>返回</span></a></p>
  <h1>刷脸成功</h1>
</div>
<div class="box gray-box face-box">
  <div class="img-box"><img src="../../assets/images/face-success.png" alt=""></div>
  <h3>人脸识别成功，可通过刷脸入园！</h3>
  <p><span><i id="countDown">5</i>s后</span>自动返回</p>
</div>
<script>
  var Os=document.getElementById("countDown");
  var num=5;
  var timer=setInterval(function () {
    num--;
    Os.innerText=num;
    if(num==0){
      window.location.href="../order/myOrder-paid.html";
    }
  },1000)
</script>
</body>
</html>
